package cn.com.thingo.shyintelligent.model.db;

public class UserInfo {
    private static volatile UserInfo instance;
    //用户名
    private String mUserName;
    //账户token
    private String mToken;
    //萤石子账户id
    private String mAccountId;
    //萤石管理员账户token
    private String mAccessToken;
    //萤石子账户token
    private String mRamAccessToken;

    public String getUserName() {
        return mUserName;
    }

    public void setUserName(String userName) {
        mUserName = userName;
    }

    public String getAccountId() {
        return mAccountId;
    }

    public void setAccountId(String accountId) {
        mAccountId = accountId;
    }

    public String getToken() {
        return mToken;
    }

    public void setToken(String token) {
        mToken = token;
    }

    public String getAccessToken() {
        return mAccessToken;
    }

    public void setAccessToken(String accessToken) {
        mAccessToken = accessToken;
    }

    public String getRamAccessToken() {
        return mRamAccessToken;
    }

    public void setRamAccessToken(String ramAccessToken) {
        mRamAccessToken = ramAccessToken;
    }

    private UserInfo() {
    }

    public static UserInfo getInstance() {
        if (instance == null) {
            synchronized (UserInfo.class) {
                if (instance == null) {
                    instance = new UserInfo();
                }
            }
        }
        return instance;
    }


}
